#!/bin/bash

mkdir ../results/2011-4-29_saix25_kernelt1d1
python sparseencode_trainingdata.py -saix 25 ../results/groupoutput ../results/2011-4-29_saix25_kernelt1d1/ && cd ../bin/ && sh ../bin/svm_crossvalidate.sh 'svm_learn.exe -t 1 -d 1' svm_classify.exe ../results/2011-4-29_saix25_kernelt1d1/ 5 && cd ../src/

mkdir ../results/2011-4-29_saix25_kernelt1d2
python sparseencode_trainingdata.py -saix 25 ../results/groupoutput ../results/2011-4-29_saix25_kernelt1d2/ && cd ../bin/ && sh ../bin/svm_crossvalidate.sh 'svm_learn.exe -t 1 -d 2' svm_classify.exe ../results/2011-4-29_saix25_kernelt1d2/ 5 && cd ../src/

mkdir ../results/2011-4-29_saix25_kernelt1d3
python sparseencode_trainingdata.py -saix 25 ../results/groupoutput ../results/2011-4-29_saix25_kernelt1d3/ && cd ../bin/ && sh ../bin/svm_crossvalidate.sh 'svm_learn.exe -t 1 -d 3' svm_classify.exe ../results/2011-4-29_saix25_kernelt1d3/ 5 && cd ../src/

mkdir ../results/2011-4-29_saix25_kernelt1d4
python sparseencode_trainingdata.py -saix 25 ../results/groupoutput ../results/2011-4-29_saix25_kernelt1d4/ && cd ../bin/ && sh ../bin/svm_crossvalidate.sh 'svm_learn.exe -t 1 -d 4' svm_classify.exe ../results/2011-4-29_saix25_kernelt1d4/ 5 && cd ../src/
